package com.pactera.madp.cp.common.enums.sync;

import com.pactera.madp.cp.service.sync.*;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 理财产品同步服务类型
 */
@Getter
@AllArgsConstructor
public enum FinaServiceEnum {

    PRD("prd", SyncPrdInfoService.class, FinaSyncBusinessService.class, 4),
    STD_DATA("std_data", SyncStdDataInfoService.class, FinaSyncBusinessService.class, 4),
    CYCLE_SET("cycle_set", SyncCycleSetInfoService.class, FinaSyncBusinessService.class, 4),
    ANNUALIZED_RATE("annualized_rate", SyncAnnualizedRateInfoService.class, FinaSyncBusinessService.class, 4);

    // 产品子类型
    private String subType;
    // 同步数据服务类型
    private Class serviceType;
    // 同步业务服务类型
    private Class businessServiceType;
    // 同步业务执行触发阀值
    private int syncThreshold;
}
